package com.nchu.web.routes;

import com.jfinal.config.Routes;
import com.nchu.web.controller.StudentController;
import com.nchu.web.controller.TeacherController;

public class FrontRoute extends Routes{

	public void config(){
		setBaseViewPath("/WEB-INF/views/front");
		add("/teacher",TeacherController.class,"/teacher");
		add("/student",StudentController.class,"/student");
		
	}
}
